﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>新增供应商信息</title>
    <link href="~/libs/layui-v2.9.17/layui/css/layui.css" rel="stylesheet" />
    <script src="~/libs/layui-v2.9.17/layui/layui.js"></script>
    <script src="~/libs/jquery/jquery.js"></script>
</head>
<body>
    <form class="layui-form" action="" onsubmit="return false">
        <div class="layui-form-item">
            <label class="layui-form-label">供应商编码</label>
            <div class="layui-input-block">
                <input type="text" name="vendorCode" lay-verify="required" placeholder="请输入供应商编码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商名称</label>
            <div class="layui-input-block">
                <input type="text" name="vendorName" lay-verify="required" placeholder="请输入供应商名称" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商简写</label>
            <div class="layui-input-block">
                <input type="text" name="vendorNick" lay-verify="required" placeholder="请输入供应商简写" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商英文名称</label>
            <div class="layui-input-block">
                <input type="text" name="vendorEn" lay-verify="required" placeholder="请输入供应商英文名称" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">供应商简介</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入供应商简介" class="layui-textarea" name="vendorDesc"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商LOGO地址</label>
            <div class="layui-input-block">
                <input type="text" name="vendorLogo" lay-verify="required" placeholder="请输入供应商LOGO地址" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商等级</label>
            <div class="layui-input-block">
                <input type="text" name="vendorLevel" lay-verify="required" placeholder="请输入供应商等级" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商评分</label>
            <div class="layui-input-block">
                <input type="text" name="vendorScore" lay-verify="required" placeholder="请输入供应商评分" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商地点</label>
            <div class="layui-input-block">
                <input type="text" name="address" lay-verify="required" placeholder="请输入供应商地点" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商官网地址</label>
            <div class="layui-input-block">
                <input type="text" name="webSite" lay-verify="required" placeholder="请输入供应商官网地址" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商邮箱</label>
            <div class="layui-input-block">
                <input type="text" name="email" lay-verify="required" placeholder="请输入供应商邮箱" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">供应商电话</label>
            <div class="layui-input-block">
                <input type="text" name="tel" lay-verify="required" placeholder="请输入供应商电话" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系人姓名1</label>
            <div class="layui-input-block">
                <input type="text" name="contact1" lay-verify="required" placeholder="请输入联系人1" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系人1电话</label>
            <div class="layui-input-block">
                <input type="text" name="contact1Tel" lay-verify="required" placeholder="请输入联系人1电话" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系人1邮箱</label>
            <div class="layui-input-block">
                <input type="text" name="contact1Email" lay-verify="required" placeholder="请输入联系人1邮箱" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">统一社会信用代码</label>
            <div class="layui-input-block">
                <input type="text" name="creditCode" lay-verify="required" placeholder="请输入统一社会信用代码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入备注内容" class="layui-textarea" name="remark"></textarea>
            </div>
        </div>
    </form>
    <script type="text/javascript">
        layui.use('form', function () {
            const form = layui.form;
            form.render();
        })
    </script>
</body>
</html>